/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Historias.java
 *
 * Created on 02/12/2011, 08:13:47 AM
 */
package Vista;

import DAO_Modelo.dto.Cronogramapago;
import DAO_Modelo.dto.Garante;
import DAO_Modelo.dto.Historial;
import DAO_Modelo.dto.SocioPk;
import DAO_Modelo.exceptions.CronogramapagoDaoException;
import DAO_Modelo.exceptions.DeudaDaoException;
import DAO_Modelo.exceptions.GaranteDaoException;
import DAO_Modelo.exceptions.HistorialDaoException;
import DAO_Modelo.exceptions.PrestamoDaoException;
import DAO_Modelo.exceptions.SocioDaoException;
import java.io.File;
import java.io.IOException;
import java.lang.Object;
import java.util.Date;
import java.util.Vector;
import java.util.logging.Level;
import java.util.logging.Logger;
import javax.swing.JOptionPane;
import jxl.Workbook;
import jxl.format.Colour;
import jxl.write.WritableCellFormat;
import jxl.write.WritableFont;
import jxl.write.WritableSheet;
import jxl.write.WritableWorkbook;
import jxl.write.WriteException;


import java.awt.Desktop;
/**
 *
 * @author jose, digberht
 */
public class Historias extends javax.swing.JFrame {
    
    
    Vector<String[]> contenido_hist_temp;
    Vector<String[]> contenido_det_deuda_temp;
    Vector<String[]> contenido_cronograma_temp;
    Vector<String[]> contenido_garante_socios_temp;
    Vector<String[]> contenido_garante_externo_temp;
  
    Vector <Garante> garante_socios= new Vector<Garante>();
    Vector <Garante> garante_externos= new Vector<Garante>();
    
    
    public Object contenido_hist[][];
    String etiquetas_hist[];
    
    public Object contenido_det_deuda[][];
    String etiquetas_det_deuda[];
    
    public Object contenido_cronograma[][];
    String etiquetas_cronograma[];
    
    public Object contenido_garante_socios[][];
    String etiquetas_garante_socios[];
    
    public Object contenido_garante_externo[][];
    String etiquetas_garante_externo[];
    
    private static int dfila;
    
    
    public static String addresexcel="C:/Archivos de programa/Microsoft Office/Office12/EXCEL.exe";
    public static String nameexcel="C:/Demandas/Historia.xls";
     public static String nameCrono="C:/Demandas/Cronograma.xls";
    
    
    
    /** Creacion de un nuevo formulario de  Historias */
    public Historias(int fila) {
        
        this.dfila=fila;
        contenido_hist_temp=new Vector<String[]>();
        
        etiquetas_hist=new String [] {"Fecha","NumOpe","Operacion","Interes","Desgrav","Mora","Capital","Aporte","Total", "Saldo"};    
        contenido_det_deuda_temp=new Vector<String[]>();
        etiquetas_det_deuda=new String[] {"Estado", "Interes", "Desgrav.", "Mora", "Aporte", "Total"};               
        contenido_cronograma_temp = new Vector<String[]>();
        etiquetas_cronograma = new String [] {"Nro.", "Fecha", "Capital", "Interes", "DesGrav", "Aporte", "Cuota", "Saldo", "Estado", "Total"};
        contenido_garante_socios_temp = new Vector<String[]>();
        etiquetas_garante_socios = new String [] {"Garante", "Nombre"};
        contenido_garante_externo_temp = new Vector<String[]>();
        etiquetas_garante_externo = new String [] {"Garante", "Nombre"};
        
        
        
         
        
        initComponents();
        
        try {
           
            Sigele.historialdtoLista = Sigele.historialDao.findWhereCodigoSocioEquals(Sigele.sociodtoLista[dfila].getCodigoSocio());
           
            for (int i = 0; i < Sigele.historialdtoLista.length; i++) {
               
                String tmp[]={Sigele.historialdtoLista[i].getFecha().toString(),String.valueOf(Sigele.historialdtoLista[i].getNumeroOperacion()),
                    String.valueOf(Sigele.historialdtoLista[i].getOperacion()),String.valueOf(Sigele.historialdtoLista[i].getInteres()),
                    String.valueOf(Sigele.historialdtoLista[i].getDesgravamen()),String.valueOf(Sigele.historialdtoLista[i].getMora()),
                    String.valueOf(Sigele.historialdtoLista[i].getCapital()),String.valueOf(Sigele.historialdtoLista[i].getAporte()),
                    String.valueOf(Sigele.historialdtoLista[i].getTotal()),String.valueOf(Sigele.historialdtoLista[i].getSaldo())};
                contenido_hist_temp.add(i,tmp);
            }
            
            escribirExcel(Sigele.historialdtoLista);
        } catch (HistorialDaoException ex) {
            Logger.getLogger(Historias.class.getName()).log(Level.SEVERE, null, ex);
        }
        try {
            
            Sigele.deudadtoLista = Sigele.deudaDao.findWhereCodigoSocioEquals(Sigele.sociodtoLista[dfila].getCodigoSocio());
            for (int i = 0; i < Sigele.deudadtoLista.length; i++) {
               
                String tmp[]={Sigele.deudadtoLista[i].getEstado(),
                   String.valueOf(Sigele.deudadtoLista[i].getInteres()),
                   String.valueOf(Sigele.deudadtoLista[i].getDesgravamen()),
                   String.valueOf(Sigele.deudadtoLista[i].getMora()),
                   String.valueOf(Sigele.deudadtoLista[i].getAporte())
                   ,String.valueOf(Sigele.deudadtoLista[i].getTotal())};
                contenido_det_deuda_temp.add(i,tmp);
            }
            
        } catch (DeudaDaoException ex) {
            
            Logger.getLogger(Historias.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        try {
            
            Sigele.cronogPagodtoLista = Sigele.cronogPagoDao.findWhereCodigoSocioEquals(Sigele.sociodtoLista[dfila].getCodigoSocio());
            for (int i = 0; i < Sigele.cronogPagodtoLista.length; i++) {
               
                String tmp[]={String.valueOf(Sigele.cronogPagodtoLista[i].getCodigoCronograma()),Sigele.cronogPagodtoLista[i].getFecha().toString(),
                   String.valueOf(Sigele.cronogPagodtoLista[i].getCapital()),String.valueOf(Sigele.cronogPagodtoLista[i].getInteres()),
                   String.valueOf(Sigele.cronogPagodtoLista[i].getDesgravamen()),
                   String.valueOf(Sigele.cronogPagodtoLista[i].getAporte()),String.valueOf(Sigele.cronogPagodtoLista[i].getCuota()),
                   String.valueOf(Sigele.cronogPagodtoLista[i].getSaldo()),String.valueOf(Sigele.cronogPagodtoLista[i].getEstado())
                   };
                contenido_cronograma_temp.add(i,tmp);
            }
            
            escribirExcelCro(Sigele.cronogPagodtoLista);
            
        } catch (CronogramapagoDaoException ex) {
                Logger.getLogger(Historias.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        
        
        try {
            Sigele.garantedtoLista = Sigele.garanteDao.findWhereCodigoSocioEquals(Sigele.sociodtoLista[dfila].getCodigoSocio());
            int num_g_soc=0,num_g_ext=0;
            for (int i = 0; i < Sigele.garantedtoLista.length; i++) {
                if(Sigele.garantedtoLista[i].getTipoGarante().equals("socio")){
                    garante_socios.add(Sigele.garantedtoLista[i]);
                    String tmp[]={String.valueOf(num_g_soc+1),Sigele.garantedtoLista[i].getNombre()+" "+Sigele.garantedtoLista[i].getApellidos()};
                    contenido_garante_socios_temp.add(tmp);
                    num_g_soc++;
                }else{
                     String tmp1[]={String.valueOf(num_g_ext+1),Sigele.garantedtoLista[i].getNombre()+" "+Sigele.garantedtoLista[i].getApellidos()};
                     garante_externos.add(Sigele.garantedtoLista[i]);
                     contenido_garante_externo_temp.add(tmp1);
                    num_g_ext++;
                }
            }
        } catch (GaranteDaoException ex) {
            Logger.getLogger(Historias.class.getName()).log(Level.SEVERE, null, ex);
        }
        
        contenido_hist=new Object[contenido_hist_temp.size()][etiquetas_hist.length];
        for (int i = 0; i < contenido_hist_temp.size(); i++) {
            contenido_hist[i]=contenido_hist_temp.get(i);
        }
        contenido_det_deuda=new Object[contenido_det_deuda_temp.size()][etiquetas_det_deuda.length];
        for (int i = 0; i < contenido_det_deuda_temp.size(); i++) {
            contenido_det_deuda[i]=contenido_det_deuda_temp.get(i);
        }
        
        contenido_cronograma=new Object[contenido_cronograma_temp.size()][etiquetas_cronograma.length];
        for (int i = 0; i < contenido_cronograma_temp.size(); i++) {
            contenido_cronograma[i]=contenido_cronograma_temp.get(i);
        }
        
        contenido_garante_socios = new Object[contenido_garante_socios_temp.size()][etiquetas_garante_socios.length];
        for (int i = 0; i < contenido_garante_socios_temp.size(); i++) {
            contenido_garante_socios[i]=contenido_garante_socios_temp.get(i);
        }
        contenido_garante_externo= new Object[contenido_garante_externo_temp.size()][etiquetas_garante_externo.length];
        for (int i = 0; i < contenido_garante_externo_temp.size(); i++) {
            contenido_garante_externo[i]=contenido_garante_externo_temp.get(i);
        }
        
        jTable_Historia.setModel(new javax.swing.table.DefaultTableModel(contenido_hist, etiquetas_hist));
        jTable_DetDeuda.setModel(new javax.swing.table.DefaultTableModel(contenido_det_deuda, etiquetas_det_deuda));
        jTable_Cronograma.setModel(new javax.swing.table.DefaultTableModel(contenido_cronograma, etiquetas_cronograma));
        jTable_Gar_Socios.setModel(new javax.swing.table.DefaultTableModel(contenido_garante_socios, etiquetas_garante_socios));
        jTable_Gar_Externos.setModel(new javax.swing.table.DefaultTableModel(contenido_garante_externo, etiquetas_garante_externo));
        
        try {
            Sigele.prestamodtoLista = Sigele.prestamoDao.findWhereCodigoSocioEquals(Sigele.sociodtoLista[dfila].getCodigoSocio());
        } catch (PrestamoDaoException ex) {
            Logger.getLogger(Historias.class.getName()).log(Level.SEVERE, null, ex);
        }
        jText_Hist_Amort.setText(String.valueOf(Sigele.prestamodtoLista[0].getAmortizacion()));
        jText_Hist_Aportes.setText(String.valueOf(Sigele.prestamodtoLista[0].getAporte()));
        jText_Hist_CalificCarteraActual.setText(Sigele.prestamodtoLista[0].getCalificacionCarteraActual());
        jText_Hist_CapPagado.setText(String.valueOf(Sigele.prestamodtoLista[0].getCuotasPagadas()*115));
        jText_Hist_CapPendiente.setText(String.valueOf(Sigele.prestamodtoLista[0].getCuotasVencidas()*115));
        jText_Hist_CapVencido.setText(String.valueOf(Sigele.prestamodtoLista[0].getCuotasPagadas()*115));
        jText_Hist_CompPendient.setText(String.valueOf(Sigele.prestamodtoLista[0].getComPendiente()));
        jText_Hist_CuotasPagadas.setText(String.valueOf(Sigele.prestamodtoLista[0].getCuotasPagadas()));
        jText_Hist_CuotasPendient.setText(String.valueOf(Sigele.prestamodtoLista[0].getCuotasPendientes()));
        jText_Hist_CuotasVencidas.setText(String.valueOf(Sigele.prestamodtoLista[0].getCuotasVencidas()));
        jText_Hist_Desg.setText(String.valueOf(Sigele.prestamodtoLista[0].getDesgravamen()));
        jText_Hist_DesgPendient.setText(String.valueOf(Sigele.prestamodtoLista[0].getDesPendiente()));
        jText_Hist_Deuda.setText(String.valueOf(Sigele.prestamodtoLista[0].getDeuda()));
        jText_Hist_DeudaVenc.setText(String.valueOf(Sigele.prestamodtoLista[0].getDeudaVencida()));
        jText_Hist_FechActual.setText(new java.sql.Date(new Date().getTime()).toString());
        jText_Hist_FormaPago.setText(String.valueOf(Sigele.prestamodtoLista[0].getFormaPago()));
        jText_Hist_Gastos.setText(String.valueOf(Sigele.prestamodtoLista[0].getGastos()));
        jText_Hist_IntCompe.setText(String.valueOf(Sigele.prestamodtoLista[0].getInteresCompensatorio()));
        jText_Hist_IntPendient.setText(String.valueOf(Sigele.prestamodtoLista[0].getInteresPendiente()));
        jText_Hist_Inter.setText(String.valueOf(Sigele.prestamodtoLista[0].getIntereses()));
        jText_Hist_Mora.setText(String.valueOf(Sigele.prestamodtoLista[0].getMora()));
        jText_Hist_MoraPend.setText(String.valueOf(Sigele.prestamodtoLista[0].getMoraPendiente()));
        jText_Hist_NumOpe.setText(String.valueOf(Sigele.prestamodtoLista[0].getNumeroOperacion()));
        jText_Hist_PeriodoPago.setText(String.valueOf(Sigele.prestamodtoLista[0].getPeriodoPago()));
        jText_Hist_Tasa.setText(String.valueOf(Sigele.prestamodtoLista[0].getTasa()));
        jText_Hist_UltimoInteres.setText(String.valueOf(Sigele.prestamodtoLista[0].getUltimoInteres()));
        
        jText_Seg_Nombre.setText(Sigele.sociodtoLista[dfila].getNombre()+" "+Sigele.sociodtoLista[dfila].getApellidos());
        jText_Seg_Domicilio.setText(Sigele.sociodtoLista[dfila].getDireccion()+"-"+Sigele.sociodtoLista[dfila].getDistrito());
        jText_Seg_Telefono.setText(Sigele.sociodtoLista[dfila].getTelefono());
        jText_Seg_CTrabajo.setText(Sigele.sociodtoLista[dfila].getCentroTrabajo());
        jText_Seg_OtroTelef.setText(Sigele.sociodtoLista[dfila].getCelular());
        jTextArea_Seg_Obser.setText(Sigele.sociodtoLista[dfila].getObservaciones());
        
        jText_Seg_Nombre.setEditable(false);
        jText_Seg_Domicilio.setEditable(false);
        jText_Seg_Telefono.setEditable(false);
        jText_Seg_CTrabajo.setEditable(false);
        jText_Seg_OtroTelef.setEditable(false);
       
        
    }   

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jTabbedPane1 = new javax.swing.JTabbedPane();
        jPanel1 = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        jTable_Historia = new javax.swing.JTable();
        jButton1 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();
        jPanel3 = new javax.swing.JPanel();
        jPanel9 = new javax.swing.JPanel();
        jLabel40 = new javax.swing.JLabel();
        jLabel41 = new javax.swing.JLabel();
        jLabel42 = new javax.swing.JLabel();
        jText_Hist_Mora = new javax.swing.JTextField();
        jText_Hist_IntCompe = new javax.swing.JTextField();
        jText_Hist_Desg = new javax.swing.JTextField();
        jLabel43 = new javax.swing.JLabel();
        jLabel44 = new javax.swing.JLabel();
        jLabel45 = new javax.swing.JLabel();
        jLabel46 = new javax.swing.JLabel();
        jLabel47 = new javax.swing.JLabel();
        jLabel48 = new javax.swing.JLabel();
        jText_Hist_Inter = new javax.swing.JTextField();
        jText_Hist_Amort = new javax.swing.JTextField();
        jText_Hist_Aportes = new javax.swing.JTextField();
        jText_Hist_Gastos = new javax.swing.JTextField();
        jText_Hist_DeudaVenc = new javax.swing.JTextField();
        jText_Hist_Deuda = new javax.swing.JTextField();
        jLabel49 = new javax.swing.JLabel();
        jLabel50 = new javax.swing.JLabel();
        jLabel51 = new javax.swing.JLabel();
        jLabel52 = new javax.swing.JLabel();
        jLabel53 = new javax.swing.JLabel();
        jLabel54 = new javax.swing.JLabel();
        jLabel55 = new javax.swing.JLabel();
        jLabel56 = new javax.swing.JLabel();
        jLabel57 = new javax.swing.JLabel();
        jLabel58 = new javax.swing.JLabel();
        jText_Hist_MoraPend = new javax.swing.JTextField();
        jText_Hist_CompPendient = new javax.swing.JTextField();
        jText_Hist_FormaPago = new javax.swing.JTextField();
        jText_Hist_IntPendient = new javax.swing.JTextField();
        jText_Hist_UltimoInteres = new javax.swing.JTextField();
        jText_Hist_DesgPendient = new javax.swing.JTextField();
        jText_Hist_FechActual = new javax.swing.JTextField();
        jText_Hist_Tasa = new javax.swing.JTextField();
        jText_Hist_PeriodoPago = new javax.swing.JTextField();
        jText_Hist_NumOpe = new javax.swing.JTextField();
        jPanel8 = new javax.swing.JPanel();
        jLabel21 = new javax.swing.JLabel();
        jLabel22 = new javax.swing.JLabel();
        jLabel23 = new javax.swing.JLabel();
        jText_Hist_CuotasPagadas = new javax.swing.JTextField();
        jText_Hist_CuotasVencidas = new javax.swing.JTextField();
        jText_Hist_CuotasPendient = new javax.swing.JTextField();
        jLabel24 = new javax.swing.JLabel();
        jText_Hist_CapPagado = new javax.swing.JTextField();
        jText_Hist_CapVencido = new javax.swing.JTextField();
        jText_Hist_CapPendiente = new javax.swing.JTextField();
        jLabel25 = new javax.swing.JLabel();
        jText_Hist_CalificCarteraActual = new javax.swing.JTextField();
        jButton_Hist_Cerrar = new javax.swing.JButton();
        jPanel4 = new javax.swing.JPanel();
        jPanel10 = new javax.swing.JPanel();
        jScrollPane2 = new javax.swing.JScrollPane();
        jTable_DetDeuda = new javax.swing.JTable();
        jButton_DetDeuda = new javax.swing.JButton();
        jPanel5 = new javax.swing.JPanel();
        jScrollPane3 = new javax.swing.JScrollPane();
        jTable_Cronograma = new javax.swing.JTable();
        jButton_Cronograma = new javax.swing.JButton();
        jButton8 = new javax.swing.JButton();
        jPanel6 = new javax.swing.JPanel();
        jPanel11 = new javax.swing.JPanel();
        jLabel2 = new javax.swing.JLabel();
        jLabel3 = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jLabel5 = new javax.swing.JLabel();
        jText_Seg_Nombre = new javax.swing.JTextField();
        jText_Seg_Domicilio = new javax.swing.JTextField();
        jText_Seg_CTrabajo = new javax.swing.JTextField();
        jText_Seg_Telefono = new javax.swing.JTextField();
        jText_Seg_OtroTelef = new javax.swing.JTextField();
        jScrollPane4 = new javax.swing.JScrollPane();
        jTextArea_Seg_Obser = new javax.swing.JTextArea();
        jButton_Seg_Cerrar = new javax.swing.JButton();
        jButton_Seg_GrabarSeg = new javax.swing.JButton();
        jLabel12 = new javax.swing.JLabel();
        jPanel7 = new javax.swing.JPanel();
        jPanel12 = new javax.swing.JPanel();
        jScrollPane5 = new javax.swing.JScrollPane();
        jTable_Gar_Socios = new javax.swing.JTable();
        jLabel6 = new javax.swing.JLabel();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        jText_GarSoc_Domic = new javax.swing.JTextField();
        jText_GarSoc_CentroTrabajo = new javax.swing.JTextField();
        jText_GarSoc_Telef = new javax.swing.JTextField();
        jText_GarSoc_OtroTelef = new javax.swing.JTextField();
        jButton_GarSoc_Cerrar = new javax.swing.JButton();
        jLabel13 = new javax.swing.JLabel();
        jPanel2 = new javax.swing.JPanel();
        jPanel13 = new javax.swing.JPanel();
        jScrollPane6 = new javax.swing.JScrollPane();
        jTable_Gar_Externos = new javax.swing.JTable();
        jLabel9 = new javax.swing.JLabel();
        jLabel10 = new javax.swing.JLabel();
        jLabel11 = new javax.swing.JLabel();
        jText_GarExt_Domic = new javax.swing.JTextField();
        jText_GarExt_CentroTrabajo = new javax.swing.JTextField();
        jText_GarExt_Telef = new javax.swing.JTextField();
        jText_GarExt_OtroTelef = new javax.swing.JTextField();
        jButton_GarExt_Cerrar = new javax.swing.JButton();
        jLabel14 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.DISPOSE_ON_CLOSE);

        jTable_Historia.setModel(new javax.swing.table.DefaultTableModel(
            contenido_hist,
            etiquetas_hist
        ) {
            Class[] types = new Class [] {
                java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane1.setViewportView(jTable_Historia);

        jButton1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Iconos/imprimir.JPG"))); // NOI18N
        jButton1.setText("Imprimir");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton1ActionPerformed(evt);
            }
        });

        jButton3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Iconos/salisr.JPG"))); // NOI18N
        jButton3.setText("Cerrar");
        jButton3.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton3ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 724, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                        .addComponent(jButton1, javax.swing.GroupLayout.PREFERRED_SIZE, 114, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jButton3, javax.swing.GroupLayout.PREFERRED_SIZE, 95, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(34, Short.MAX_VALUE))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel1Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 183, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton3)
                    .addComponent(jButton1))
                .addContainerGap(161, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Historia", jPanel1);

        jLabel40.setText("Mora");

        jLabel41.setText("Int. Compe");

        jLabel42.setText("Desgravamen");

        jText_Hist_Mora.setText("jTextField2");

        jText_Hist_IntCompe.setText("jTextField3");

        jText_Hist_Desg.setText("jTextField4");

        jLabel43.setText("Interes");

        jLabel44.setText("Amortizacion");

        jLabel45.setText("Aportes");

        jLabel46.setText("Gastos");

        jLabel47.setText("Deuda Vencida");

        jLabel48.setText("Deuda");

        jText_Hist_Inter.setText("jTextField5");

        jText_Hist_Amort.setText("jTextField6");

        jText_Hist_Aportes.setText("jTextField7");

        jText_Hist_Gastos.setText("jTextField8");

        jText_Hist_DeudaVenc.setText("jTextField9");

        jText_Hist_Deuda.setText("jTextField10");

        jLabel49.setText("Mora Pendiente");

        jLabel50.setText("Comp. Pendiente");

        jLabel51.setText("Int. Pendiente");

        jLabel52.setText("Desgrav. Pendiente");

        jLabel53.setText("Ultimo Interes");

        jLabel54.setText("Fecha Actual");

        jLabel55.setText("Tasa");

        jLabel56.setText("Nro. Operacion");

        jLabel57.setText("Periodo de Pago");

        jLabel58.setText("Forma de Pago");

        jText_Hist_MoraPend.setText("jTextField2");

        jText_Hist_CompPendient.setText("jTextField2");

        jText_Hist_FormaPago.setText("jTextField2");

        jText_Hist_IntPendient.setText("jTextField2");

        jText_Hist_UltimoInteres.setText("jTextField2");

        jText_Hist_DesgPendient.setText("jTextField2");

        jText_Hist_FechActual.setText("jTextField2");

        jText_Hist_Tasa.setText("jTextField2");

        jText_Hist_PeriodoPago.setText("jTextField2");

        jText_Hist_NumOpe.setText("jTextField2");

        jPanel8.setBorder(javax.swing.BorderFactory.createTitledBorder("Cuotas"));

        jLabel21.setText("Pagadas");

        jLabel22.setText("Vencidas");

        jLabel23.setText("Pendiente");

        jLabel24.setText("Capital");

        javax.swing.GroupLayout jPanel8Layout = new javax.swing.GroupLayout(jPanel8);
        jPanel8.setLayout(jPanel8Layout);
        jPanel8Layout.setHorizontalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel8Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel8Layout.createSequentialGroup()
                        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(jPanel8Layout.createSequentialGroup()
                                .addComponent(jLabel23)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addComponent(jText_Hist_CuotasPendient, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE))
                            .addGroup(jPanel8Layout.createSequentialGroup()
                                .addComponent(jLabel22)
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jText_Hist_CuotasVencidas, javax.swing.GroupLayout.DEFAULT_SIZE, 58, Short.MAX_VALUE))
                            .addGroup(jPanel8Layout.createSequentialGroup()
                                .addComponent(jLabel21)
                                .addGap(10, 10, 10)
                                .addComponent(jText_Hist_CuotasPagadas, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGap(18, 18, 18)
                        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                            .addComponent(jText_Hist_CapPagado, javax.swing.GroupLayout.DEFAULT_SIZE, 63, Short.MAX_VALUE)
                            .addComponent(jText_Hist_CapVencido)
                            .addComponent(jText_Hist_CapPendiente))
                        .addGap(28, 28, 28))
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel8Layout.createSequentialGroup()
                        .addComponent(jLabel24)
                        .addGap(53, 53, 53))))
        );
        jPanel8Layout.setVerticalGroup(
            jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel8Layout.createSequentialGroup()
                .addComponent(jLabel24)
                .addGap(16, 16, 16)
                .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel8Layout.createSequentialGroup()
                        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel21)
                            .addComponent(jText_Hist_CuotasPagadas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel22)
                            .addComponent(jText_Hist_CuotasVencidas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel8Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel23)
                            .addComponent(jText_Hist_CuotasPendient, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(jPanel8Layout.createSequentialGroup()
                        .addComponent(jText_Hist_CapPagado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jText_Hist_CapVencido, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jText_Hist_CapPendiente, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(21, Short.MAX_VALUE))
        );

        jLabel25.setText("Calificacion cartera Actual");

        jText_Hist_CalificCarteraActual.setText("jTextField27");

        jButton_Hist_Cerrar.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Iconos/salisr.JPG"))); // NOI18N
        jButton_Hist_Cerrar.setText("Cerrar");
        jButton_Hist_Cerrar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton_Hist_CerrarActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel9Layout = new javax.swing.GroupLayout(jPanel9);
        jPanel9.setLayout(jPanel9Layout);
        jPanel9Layout.setHorizontalGroup(
            jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup()
                .addGap(28, 28, 28)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel40)
                    .addComponent(jLabel41)
                    .addComponent(jLabel42)
                    .addComponent(jLabel43)
                    .addComponent(jLabel44)
                    .addComponent(jLabel45)
                    .addComponent(jLabel46)
                    .addComponent(jLabel47)
                    .addComponent(jLabel48))
                .addGap(28, 28, 28)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jText_Hist_Aportes)
                    .addComponent(jText_Hist_Mora, javax.swing.GroupLayout.DEFAULT_SIZE, 83, Short.MAX_VALUE)
                    .addComponent(jText_Hist_IntCompe)
                    .addComponent(jText_Hist_Desg)
                    .addComponent(jText_Hist_Inter)
                    .addComponent(jText_Hist_Amort)
                    .addComponent(jText_Hist_Gastos)
                    .addComponent(jText_Hist_DeudaVenc)
                    .addComponent(jText_Hist_Deuda))
                .addGap(29, 29, 29)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel49)
                    .addComponent(jLabel58)
                    .addComponent(jLabel57)
                    .addComponent(jLabel56)
                    .addComponent(jLabel55)
                    .addComponent(jLabel54)
                    .addComponent(jLabel53)
                    .addComponent(jLabel52)
                    .addComponent(jLabel51)
                    .addComponent(jLabel50))
                .addGap(22, 22, 22)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jText_Hist_IntPendient, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                    .addComponent(jText_Hist_DesgPendient, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                    .addComponent(jText_Hist_UltimoInteres, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                    .addComponent(jText_Hist_FechActual, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                    .addComponent(jText_Hist_Tasa, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                    .addComponent(jText_Hist_NumOpe, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                    .addComponent(jText_Hist_PeriodoPago, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                    .addComponent(jText_Hist_MoraPend, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                    .addComponent(jText_Hist_CompPendient, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE)
                    .addComponent(jText_Hist_FormaPago, javax.swing.GroupLayout.DEFAULT_SIZE, 117, Short.MAX_VALUE))
                .addGap(18, 18, 18)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel25)
                        .addComponent(jText_Hist_CalificCarteraActual, javax.swing.GroupLayout.PREFERRED_SIZE, 150, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(jButton_Hist_Cerrar))
                .addContainerGap())
        );
        jPanel9Layout.setVerticalGroup(
            jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel9Layout.createSequentialGroup()
                .addGap(39, 39, 39)
                .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addComponent(jPanel8, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(jLabel25)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jText_Hist_CalificCarteraActual, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(jPanel9Layout.createSequentialGroup()
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel40)
                            .addComponent(jText_Hist_Mora, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel49)
                            .addComponent(jText_Hist_MoraPend, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel41)
                            .addComponent(jText_Hist_IntCompe, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel50)
                            .addComponent(jText_Hist_CompPendient, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel42)
                            .addComponent(jText_Hist_Desg, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel51)
                            .addComponent(jText_Hist_IntPendient, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel43)
                            .addComponent(jText_Hist_Inter, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel52)
                            .addComponent(jText_Hist_DesgPendient, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel44)
                            .addComponent(jText_Hist_Amort, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel53)
                            .addComponent(jText_Hist_UltimoInteres, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel45)
                            .addComponent(jText_Hist_Aportes, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel54)
                            .addComponent(jText_Hist_FechActual, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel46)
                            .addComponent(jText_Hist_Gastos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel55)
                            .addComponent(jText_Hist_Tasa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel47)
                            .addComponent(jText_Hist_DeudaVenc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel56)
                            .addComponent(jText_Hist_NumOpe, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel48)
                            .addComponent(jText_Hist_Deuda, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jLabel57)
                            .addComponent(jText_Hist_PeriodoPago, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addGroup(jPanel9Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                            .addComponent(jLabel58)
                            .addComponent(jText_Hist_FormaPago, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(jButton_Hist_Cerrar))))
                .addContainerGap(31, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel3Layout = new javax.swing.GroupLayout(jPanel3);
        jPanel3.setLayout(jPanel3Layout);
        jPanel3Layout.setHorizontalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 768, Short.MAX_VALUE)
            .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel3Layout.createSequentialGroup()
                    .addGap(0, 13, Short.MAX_VALUE)
                    .addComponent(jPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 13, Short.MAX_VALUE)))
        );
        jPanel3Layout.setVerticalGroup(
            jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 395, Short.MAX_VALUE)
            .addGroup(jPanel3Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel3Layout.createSequentialGroup()
                    .addGap(0, 10, Short.MAX_VALUE)
                    .addComponent(jPanel9, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGap(0, 11, Short.MAX_VALUE)))
        );

        jTabbedPane1.addTab("Analisis de Deuda", jPanel3);

        jPanel10.setBorder(javax.swing.BorderFactory.createTitledBorder("Detalle Cuotas Vencidas y Pendientes"));

        jTable_DetDeuda.setModel(new javax.swing.table.DefaultTableModel(
            contenido_det_deuda,
            etiquetas_det_deuda
        ) {
            Class[] types = new Class [] {
                java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jTable_DetDeuda.getTableHeader().setReorderingAllowed(false);
        jScrollPane2.setViewportView(jTable_DetDeuda);

        jButton_DetDeuda.setIcon(new javax.swing.ImageIcon(getClass().getResource("/Iconos/salisr.JPG"))); // NOI18N
        jButton_DetDeuda.setText("Cerrar");
        jButton_DetDeuda.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton_DetDeudaActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel10Layout = new javax.swing.GroupLayout(jPanel10);
        jPanel10.setLayout(jPanel10Layout);
        jPanel10Layout.setHorizontalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane2, javax.swing.GroupLayout.DEFAULT_SIZE, 716, Short.MAX_VALUE)
                    .addComponent(jButton_DetDeuda, javax.swing.GroupLayout.Alignment.TRAILING))
                .addContainerGap())
        );
        jPanel10Layout.setVerticalGroup(
            jPanel10Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel10Layout.createSequentialGroup()
                .addComponent(jScrollPane2, javax.swing.GroupLayout.PREFERRED_SIZE, 183, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jButton_DetDeuda)
                .addContainerGap(127, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
        jPanel4.setLayout(jPanel4Layout);
        jPanel4Layout.setHorizontalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );
        jPanel4Layout.setVerticalGroup(
            jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel10, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addContainerGap())
        );

        jTabbedPane1.addTab("Detalle de Deuda", jPanel4);

        jTable_Cronograma.setModel(new javax.swing.table.DefaultTableModel(
            contenido_cronograma,
            etiquetas_cronograma
        ) {
            Class[] types = new Class [] {
                java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class, java.lang.Object.class
            };

            public Class getColumnClass(int columnIndex) {
                return types [columnIndex];
            }
        });
        jScrollPane3.setViewportView(jTable_Cronograma);
        jTable_Cronograma.getColumnModel().getColumn(2).setHeaderValue("Operacion");
        jTable_Cronograma.getColumnModel().getColumn(3).setResizable(false);
        jTable_Cronograma.getColumnModel().getColumn(3).setHeaderValue("Interes");
        jTable_Cronograma.getColumnModel().getColumn(4).setHeaderValue("DesGrav");
        jTable_Cronograma.getColumnModel().getColumn(5).setHeaderValue("Mora");
        jTable_Cronograma.getColumnModel().getColumn(6).setHeaderValue("Aporte");
        jTable_Cronograma.getColumnModel().getColumn(7).setHeaderValue("Capital");
        jTable_Cronograma.getColumnModel().getColumn(8).setHeaderValue("Saldo");
        jTable_Cronograma.getColumnModel().getColumn(9).setHeaderValue("Total");

        jButton_Cronograma.setText("Cerrar");
        jButton_Cronograma.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton_CronogramaActionPerformed(evt);
            }
        });

        jButton8.setText("Imprimir");
        jButton8.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton8ActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout jPanel5Layout = new javax.swing.GroupLayout(jPanel5);
        jPanel5.setLayout(jPanel5Layout);
        jPanel5Layout.setHorizontalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jScrollPane3, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, 748, Short.MAX_VALUE)
                    .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel5Layout.createSequentialGroup()
                        .addComponent(jButton8)
                        .addGap(18, 18, 18)
                        .addComponent(jButton_Cronograma)))
                .addContainerGap())
        );
        jPanel5Layout.setVerticalGroup(
            jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel5Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane3, javax.swing.GroupLayout.PREFERRED_SIZE, 183, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton_Cronograma)
                    .addComponent(jButton8))
                .addContainerGap(172, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Cronograma", jPanel5);

        jPanel11.setBorder(javax.swing.BorderFactory.createTitledBorder("Datos"));

        jLabel2.setText("Nombre");

        jLabel3.setText("Domicilio");

        jLabel4.setText("Centro de Trabajo");

        jLabel5.setText("Telefono");

        jText_Seg_Nombre.setText("jTextField2");

        jText_Seg_Domicilio.setText("jTextField3");

        jText_Seg_CTrabajo.setText("jTextField4");

        jText_Seg_Telefono.setText("jTextField5");

        jText_Seg_OtroTelef.setText("jTextField6");

        jTextArea_Seg_Obser.setColumns(20);
        jTextArea_Seg_Obser.setRows(5);
        jScrollPane4.setViewportView(jTextArea_Seg_Obser);

        jButton_Seg_Cerrar.setText("Cerrar");
        jButton_Seg_Cerrar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton_Seg_CerrarActionPerformed(evt);
            }
        });

        jButton_Seg_GrabarSeg.setText("Grabar Seguimiento");
        jButton_Seg_GrabarSeg.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton_Seg_GrabarSegActionPerformed(evt);
            }
        });

        jLabel12.setText("Otro");

        javax.swing.GroupLayout jPanel11Layout = new javax.swing.GroupLayout(jPanel11);
        jPanel11.setLayout(jPanel11Layout);
        jPanel11Layout.setHorizontalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel11Layout.createSequentialGroup()
                        .addComponent(jButton_Seg_GrabarSeg)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(jButton_Seg_Cerrar))
                    .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addComponent(jScrollPane4, javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel11Layout.createSequentialGroup()
                            .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel2)
                                .addComponent(jLabel3)
                                .addComponent(jLabel4)
                                .addComponent(jLabel5))
                            .addGap(22, 22, 22)
                            .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jText_Seg_CTrabajo)
                                .addComponent(jText_Seg_Domicilio)
                                .addGroup(jPanel11Layout.createSequentialGroup()
                                    .addComponent(jText_Seg_Telefono, javax.swing.GroupLayout.PREFERRED_SIZE, 90, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 110, Short.MAX_VALUE)
                                    .addComponent(jLabel12)
                                    .addGap(18, 18, 18)
                                    .addComponent(jText_Seg_OtroTelef, javax.swing.GroupLayout.PREFERRED_SIZE, 104, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addComponent(jText_Seg_Nombre, javax.swing.GroupLayout.DEFAULT_SIZE, 344, Short.MAX_VALUE)))))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel11Layout.setVerticalGroup(
            jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel11Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel2)
                    .addComponent(jText_Seg_Nombre, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel3)
                    .addComponent(jText_Seg_Domicilio, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel4)
                    .addComponent(jText_Seg_CTrabajo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel5)
                    .addComponent(jText_Seg_Telefono, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jText_Seg_OtroTelef, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel12))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(jScrollPane4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 18, Short.MAX_VALUE)
                .addGroup(jPanel11Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jButton_Seg_Cerrar)
                    .addComponent(jButton_Seg_GrabarSeg))
                .addContainerGap())
        );

        javax.swing.GroupLayout jPanel6Layout = new javax.swing.GroupLayout(jPanel6);
        jPanel6.setLayout(jPanel6Layout);
        jPanel6Layout.setHorizontalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(272, Short.MAX_VALUE))
        );
        jPanel6Layout.setVerticalGroup(
            jPanel6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel6Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel11, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(53, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Seguimiento", jPanel6);

        jPanel12.setBorder(javax.swing.BorderFactory.createTitledBorder("Garantes Socios"));

        jTable_Gar_Socios.setModel(new javax.swing.table.DefaultTableModel(
            contenido_garante_socios,
            etiquetas_garante_socios
        ));
        jTable_Gar_Socios.getTableHeader().setReorderingAllowed(false);
        jTable_Gar_Socios.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jTable_Gar_SociosMouseClicked(evt);
            }
        });
        jScrollPane5.setViewportView(jTable_Gar_Socios);

        jLabel6.setText("Domicilio:");

        jLabel7.setText("Centro de Trabajo:");

        jLabel8.setText("Telefono:");

        jButton_GarSoc_Cerrar.setText("Cerrar");
        jButton_GarSoc_Cerrar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton_GarSoc_CerrarActionPerformed(evt);
            }
        });

        jLabel13.setText("Cell:");

        javax.swing.GroupLayout jPanel12Layout = new javax.swing.GroupLayout(jPanel12);
        jPanel12.setLayout(jPanel12Layout);
        jPanel12Layout.setHorizontalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel12Layout.createSequentialGroup()
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel12Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jButton_GarSoc_Cerrar))
                    .addGroup(jPanel12Layout.createSequentialGroup()
                        .addGap(28, 28, 28)
                        .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jScrollPane5, javax.swing.GroupLayout.DEFAULT_SIZE, 376, Short.MAX_VALUE)
                            .addGroup(jPanel12Layout.createSequentialGroup()
                                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel7)
                                    .addComponent(jLabel8)
                                    .addComponent(jLabel6))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jText_GarSoc_Domic, javax.swing.GroupLayout.DEFAULT_SIZE, 274, Short.MAX_VALUE)
                                    .addGroup(jPanel12Layout.createSequentialGroup()
                                        .addComponent(jText_GarSoc_Telef, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 52, Short.MAX_VALUE)
                                        .addComponent(jLabel13)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addComponent(jText_GarSoc_OtroTelef, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(jText_GarSoc_CentroTrabajo, javax.swing.GroupLayout.DEFAULT_SIZE, 274, Short.MAX_VALUE))))))
                .addGap(28, 28, 28))
        );
        jPanel12Layout.setVerticalGroup(
            jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel12Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane5, javax.swing.GroupLayout.PREFERRED_SIZE, 81, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(27, 27, 27)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel6)
                    .addComponent(jText_GarSoc_Domic, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel7)
                    .addComponent(jText_GarSoc_CentroTrabajo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel12Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel8)
                    .addComponent(jText_GarSoc_Telef, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jText_GarSoc_OtroTelef, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel13))
                .addGap(30, 30, 30)
                .addComponent(jButton_GarSoc_Cerrar)
                .addContainerGap(77, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel7Layout = new javax.swing.GroupLayout(jPanel7);
        jPanel7.setLayout(jPanel7Layout);
        jPanel7Layout.setHorizontalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(314, Short.MAX_VALUE))
        );
        jPanel7Layout.setVerticalGroup(
            jPanel7Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel7Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel12, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(12, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Gar. Socios", jPanel7);

        jPanel13.setBorder(javax.swing.BorderFactory.createTitledBorder("Garantes Externos"));

        jTable_Gar_Externos.setModel(new javax.swing.table.DefaultTableModel(
            contenido_garante_externo,
            etiquetas_garante_externo
        ));
        jTable_Gar_Externos.setCellSelectionEnabled(true);
        jTable_Gar_Externos.addMouseListener(new java.awt.event.MouseAdapter() {
            public void mouseClicked(java.awt.event.MouseEvent evt) {
                jTable_Gar_ExternosMouseClicked(evt);
            }
        });
        jScrollPane6.setViewportView(jTable_Gar_Externos);

        jLabel9.setText("Domicilio:");

        jLabel10.setText("Centro de Trabajo:");

        jLabel11.setText("Telefono:");

        jButton_GarExt_Cerrar.setText("Cerrar");
        jButton_GarExt_Cerrar.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                jButton_GarExt_CerrarActionPerformed(evt);
            }
        });

        jLabel14.setText("Cell:");

        javax.swing.GroupLayout jPanel13Layout = new javax.swing.GroupLayout(jPanel13);
        jPanel13.setLayout(jPanel13Layout);
        jPanel13Layout.setHorizontalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel13Layout.createSequentialGroup()
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(jPanel13Layout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jButton_GarExt_Cerrar))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, jPanel13Layout.createSequentialGroup()
                        .addGap(28, 28, 28)
                        .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(jScrollPane6, javax.swing.GroupLayout.DEFAULT_SIZE, 376, Short.MAX_VALUE)
                            .addGroup(jPanel13Layout.createSequentialGroup()
                                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jLabel10)
                                    .addComponent(jLabel11)
                                    .addComponent(jLabel9))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(jText_GarExt_Domic, javax.swing.GroupLayout.DEFAULT_SIZE, 274, Short.MAX_VALUE)
                                    .addGroup(jPanel13Layout.createSequentialGroup()
                                        .addComponent(jText_GarExt_Telef, javax.swing.GroupLayout.PREFERRED_SIZE, 97, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 52, Short.MAX_VALUE)
                                        .addComponent(jLabel14)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                        .addComponent(jText_GarExt_OtroTelef, javax.swing.GroupLayout.PREFERRED_SIZE, 94, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(jText_GarExt_CentroTrabajo, javax.swing.GroupLayout.DEFAULT_SIZE, 274, Short.MAX_VALUE))))))
                .addGap(28, 28, 28))
        );
        jPanel13Layout.setVerticalGroup(
            jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel13Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jScrollPane6, javax.swing.GroupLayout.PREFERRED_SIZE, 82, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(26, 26, 26)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel9)
                    .addComponent(jText_GarExt_Domic, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel10)
                    .addComponent(jText_GarExt_CentroTrabajo, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addGap(18, 18, 18)
                .addGroup(jPanel13Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabel11)
                    .addComponent(jText_GarExt_Telef, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jText_GarExt_OtroTelef, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jLabel14))
                .addGap(30, 30, 30)
                .addComponent(jButton_GarExt_Cerrar)
                .addContainerGap(77, Short.MAX_VALUE))
        );

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(314, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jPanel13, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(12, Short.MAX_VALUE))
        );

        jTabbedPane1.addTab("Gar. Externos", jPanel2);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGap(76, 76, 76)
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 773, Short.MAX_VALUE)
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 423, Short.MAX_VALUE)
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
/** 
	 * Funcion de evento del boton de cerrar que cierra la ventana activa actual
	 */
private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
// TODO add your handling code here:
    this.dispose();
}//GEN-LAST:event_jButton3ActionPerformed
/** 
	 * Funcion de evento del boton de Grabar que actualiza los campos  modificados en la base de datos
	 */
private void jButton_Seg_GrabarSegActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_Seg_GrabarSegActionPerformed
// TODO add your handling code here:
    
    Sigele.sociodtoLista[dfila].setObservaciones(jTextArea_Seg_Obser.getText());
        try {
            Sigele.socioDao.update(new SocioPk(Sigele.sociodtoLista[dfila].getCodigoSocio()), Sigele.sociodtoLista[dfila]);
            JOptionPane.showMessageDialog(null,"Datos actualizados correctamente!");
        } catch (SocioDaoException ex) {
            Logger.getLogger(Historias.class.getName()).log(Level.SEVERE, null, ex);
        }
}//GEN-LAST:event_jButton_Seg_GrabarSegActionPerformed
/** 
	 * Funcion de evento del boton de cerrar que cierra la Pestaña activa actual
	 */
private void jButton_Seg_CerrarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_Seg_CerrarActionPerformed
// TODO add your handling code here:
    this.dispose();
}//GEN-LAST:event_jButton_Seg_CerrarActionPerformed
/** 
	 * Funcion de evento del boton de cerrar que cierra la Pestaña activa actual
	 */
private void jButton_GarSoc_CerrarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_GarSoc_CerrarActionPerformed
// TODO add your handling code here:
    this.dispose();
}//GEN-LAST:event_jButton_GarSoc_CerrarActionPerformed
/** 
	 * Funcion de evento de la tabla de garantes socios el cual muestra los socio que son garantes de un socio
	 */
private void jTable_Gar_SociosMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTable_Gar_SociosMouseClicked
// TODO add your handling code here:
    int fila=-1;
    for (int i = 0; i < jTable_Gar_Socios.getRowCount(); i++) {
        if(jTable_Gar_Socios.isRowSelected(i)){
            fila=i;
            break;   
        }
    }
    if(fila >= 0){
        jText_GarSoc_CentroTrabajo.setText(garante_socios.get(fila).getCentroTrabajo());
        jText_GarSoc_Domic.setText(garante_socios.get(fila).getDireccion());
        jText_GarSoc_OtroTelef.setText(garante_socios.get(fila).getCelular());
        jText_GarSoc_Telef.setText(garante_socios.get(fila).getTelefono());
    }
}//GEN-LAST:event_jTable_Gar_SociosMouseClicked
/** 
	 * Funcion de evento del Boton Cerrar el cual cierra el formulario activo
	 */
private void jButton_GarExt_CerrarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_GarExt_CerrarActionPerformed
// TODO add your handling code here:
    this.dispose();
}//GEN-LAST:event_jButton_GarExt_CerrarActionPerformed
/** 
	 * Funcion de evento de la tabla de garantes socios el cual muestra los socio que son garantes de un socio
	 */
private void jTable_Gar_ExternosMouseClicked(java.awt.event.MouseEvent evt) {//GEN-FIRST:event_jTable_Gar_ExternosMouseClicked
// TODO add your handling code here:
    int fila=-1;
    for (int i = 0; i < jTable_Gar_Externos.getRowCount(); i++) {
        if(jTable_Gar_Externos.isRowSelected(i)){
            fila=i;
            break;   
        }
    }
    if(fila >= 0){
        jText_GarExt_CentroTrabajo.setText(garante_externos.get(fila).getCentroTrabajo());
        jText_GarExt_Domic.setText(garante_externos.get(fila).getDireccion());
        jText_GarExt_OtroTelef.setText(garante_externos.get(fila).getCelular());
        jText_GarExt_Telef.setText(garante_externos.get(fila).getTelefono());
    }
}//GEN-LAST:event_jTable_Gar_ExternosMouseClicked
/** 
	 * Funcion de evento del boton de Cerra rde  la Pestaña_Historia que cierra activa actual
	 */

private void jButton_Hist_CerrarActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_Hist_CerrarActionPerformed
// TODO add your handling code here:
    this.dispose();
}//GEN-LAST:event_jButton_Hist_CerrarActionPerformed
/** 
	 * Funcion de evento del boton de DetDeuda rde  la Pestaña_Historia que cierra activa actual
	 */
private void jButton_DetDeudaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_DetDeudaActionPerformed
// TODO add your handling code here:
    this.dispose();
}//GEN-LAST:event_jButton_DetDeudaActionPerformed
/** 
	 * Funcion de evento del boton de Cronograma de  la Pestaña_Cronograma que cierra activa actual
	 */
private void jButton_CronogramaActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton_CronogramaActionPerformed
// TODO add your handling code here:
    this.dispose();
}//GEN-LAST:event_jButton_CronogramaActionPerformed

private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
// TODO add your handling code here
    
    imprimirExcel();
}//GEN-LAST:event_jButton1ActionPerformed

private void jButton8ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton8ActionPerformed
// TODO add your handling code here:
    imprimirExcelCro();
}//GEN-LAST:event_jButton8ActionPerformed


public static void escribirExcelCro(Cronogramapago cro[])
{
    try
        {
            //Se crea el libro Excel
            WritableWorkbook workbook =Workbook.createWorkbook(new File(nameCrono));
 
            //Se crea una nueva hoja dentro del libro
            WritableSheet sheet =workbook.createSheet("Cronograma", 0);
 
            //Creamos celdas de varios tipos
            WritableFont times16font = new WritableFont(WritableFont.TIMES, 10, WritableFont.BOLD, true); 
            times16font.setColour(Colour.BLACK);
            WritableCellFormat formato1 = new WritableCellFormat(times16font); 
            formato1.setBackground(Colour.YELLOW);
            int fila =1,col=2;
            sheet.addCell(new jxl.write.Label(1, 2, "Numero",formato1));
            sheet.addCell(new jxl.write.Label(2, 2, "Fecha",formato1));
            sheet.addCell(new jxl.write.Label(3, 2, "Capital",formato1));
            sheet.addCell(new jxl.write.Label(4, 2, "Interes",formato1));
            sheet.addCell(new jxl.write.Label(5, 2, "Desgravamen",formato1));
            sheet.addCell(new jxl.write.Label(6, 2, "Aporte",formato1));
            sheet.addCell(new jxl.write.Label(7, 2, "Cuota",formato1));
            sheet.addCell(new jxl.write.Label(8, 2, "Saldo",formato1));
            sheet.addCell(new jxl.write.Label(9, 2, "Estado",formato1));
            sheet.addCell(new jxl.write.Label(10, 2, "Total",formato1));
            
           for (int j = 0; j < cro.length; j++) {
            //sheet.addCell(new jxl.write.Label(0, 0, "Nº",formato1));
            sheet.addCell(new jxl.write.Label(1, 4+j, String.valueOf(j+1)));
            sheet.addCell(new jxl.write.Label(2, 4+j, String.valueOf(cro[j].getFecha())));
            sheet.addCell(new jxl.write.Label(3, 4+j, String.valueOf(cro[j].getCapital())));
            sheet.addCell(new jxl.write.Label(4, 4+j, String.valueOf(cro[j].getInteres())));
            sheet.addCell(new jxl.write.Label(5, 4+j, String.valueOf(cro[j].getDesgravamen())));            
            sheet.addCell(new jxl.write.Label(6, 4+j, String.valueOf(cro[j].getAporte())));
            sheet.addCell(new jxl.write.Label(7, 4+j, String.valueOf(cro[j].getCuota())));
            sheet.addCell(new jxl.write.Label(8, 4+j, String.valueOf(cro[j].getSaldo())));
            sheet.addCell(new jxl.write.Label(9, 4+j, String.valueOf(cro[j].getEstado())));
            sheet.addCell(new jxl.write.Label(10, 4+j, String.valueOf(cro[j].getTotal())));
            
            }
            
            workbook.write();
            workbook.close();
          
            }
        catch (IOException ex)
        {
            System.out.println("Error al crear el fichero.");
        }
        catch (WriteException ex)
        {
            System.out.println("Error al escribir el fichero.");
        }
        
        
}


public static void escribirExcel(Historial his[])
    {
 
        try
        {
            //Se crea el libro Excel
            WritableWorkbook workbook =Workbook.createWorkbook(new File(nameexcel));
 
            //Se crea una nueva hoja dentro del libro
            WritableSheet sheet =workbook.createSheet("Historia", 0);
 
            //Creamos celdas de varios tipos
            WritableFont times16font = new WritableFont(WritableFont.TIMES, 10, WritableFont.BOLD, true); 
            times16font.setColour(Colour.BLACK);
            WritableCellFormat formato1 = new WritableCellFormat(times16font); 
            formato1.setBackground(Colour.YELLOW);
            int fila =1,col=2;
            sheet.addCell(new jxl.write.Label(1, 2, "Fecha",formato1));
            sheet.addCell(new jxl.write.Label(2, 2, "Nº Operacion",formato1));
            sheet.addCell(new jxl.write.Label(3, 2, "Operacion",formato1));
            sheet.addCell(new jxl.write.Label(4, 2, "Interes",formato1));
            sheet.addCell(new jxl.write.Label(5, 2, "Desgravamen",formato1));
            sheet.addCell(new jxl.write.Label(6, 2, "Mora",formato1));
            sheet.addCell(new jxl.write.Label(7, 2, "Capital",formato1));
            sheet.addCell(new jxl.write.Label(8, 2, "Aporte",formato1));
            sheet.addCell(new jxl.write.Label(9, 2, "Total",formato1));
            sheet.addCell(new jxl.write.Label(10, 2, "Saldo",formato1));
            
           for (int j = 0; j < his.length; j++) {
            //sheet.addCell(new jxl.write.Label(0, 0, "Nº",formato1));
            sheet.addCell(new jxl.write.Label(1, 4+j, String.valueOf(his[j].getFecha().toString())));
            sheet.addCell(new jxl.write.Label(2, 4+j, String.valueOf(his[j].getNumeroOperacion())));
            sheet.addCell(new jxl.write.Label(3, 4+j, String.valueOf(his[j].getOperacion())));
            sheet.addCell(new jxl.write.Label(4, 4+j, String.valueOf(his[j].getInteres())));            
            sheet.addCell(new jxl.write.Label(5, 4+j, String.valueOf(his[j].getDesgravamen())));
            sheet.addCell(new jxl.write.Label(6, 4+j, String.valueOf(his[j].getMora())));
            sheet.addCell(new jxl.write.Label(7, 4+j, String.valueOf(his[j].getCapital())));
            sheet.addCell(new jxl.write.Label(8, 4+j, String.valueOf(his[j].getAporte())));
            sheet.addCell(new jxl.write.Label(9, 4+j, String.valueOf(his[j].getTotal())));
            sheet.addCell(new jxl.write.Label(10, 4+j, String.valueOf(his[j].getSaldo())));
            }
            
            workbook.write();
            workbook.close();
            
            
            
            
            
            System.out.println("Ejemplo finalizado.");
           // Abrir();
        }
        catch (IOException ex)
        {
            System.out.println("Error al crear el fichero.");
        }
        catch (WriteException ex)
        {
            System.out.println("Error al escribir el fichero.");
        }
        
        
        
    }

  public static  void imprimirExcel() {
        java.awt.Desktop desktop = java.awt.Desktop.getDesktop();
        java.io.File fichero = new java.io.File(nameexcel);
        if (desktop.isSupported(Desktop.Action.PRINT)) {
            try {
                desktop.print(fichero);
            } catch (Exception e) {
                System.out.print("El sistema no permite imprimir usando la clase Desktop");
                e.printStackTrace();
            }
        } else {
            System.out.print("El sistema no permite imprimir usando la clase Desktop");
        }
}

   public static  void imprimirExcelCro() {
        java.awt.Desktop desktop = java.awt.Desktop.getDesktop();
        java.io.File fichero = new java.io.File(nameCrono);
        if (desktop.isSupported(Desktop.Action.PRINT)) {
            try {
                desktop.print(fichero);
            } catch (Exception e) {
                System.out.print("El sistema no permite imprimir usando la clase Desktop");
                e.printStackTrace();
            }
        } else {
            System.out.print("El sistema no permite imprimir usando la clase Desktop");
        }
}

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(Historias.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(Historias.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(Historias.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(Historias.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
                new Historias(dfila).setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton8;
    private javax.swing.JButton jButton_Cronograma;
    private javax.swing.JButton jButton_DetDeuda;
    private javax.swing.JButton jButton_GarExt_Cerrar;
    private javax.swing.JButton jButton_GarSoc_Cerrar;
    private javax.swing.JButton jButton_Hist_Cerrar;
    private javax.swing.JButton jButton_Seg_Cerrar;
    private javax.swing.JButton jButton_Seg_GrabarSeg;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel13;
    private javax.swing.JLabel jLabel14;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel21;
    private javax.swing.JLabel jLabel22;
    private javax.swing.JLabel jLabel23;
    private javax.swing.JLabel jLabel24;
    private javax.swing.JLabel jLabel25;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel40;
    private javax.swing.JLabel jLabel41;
    private javax.swing.JLabel jLabel42;
    private javax.swing.JLabel jLabel43;
    private javax.swing.JLabel jLabel44;
    private javax.swing.JLabel jLabel45;
    private javax.swing.JLabel jLabel46;
    private javax.swing.JLabel jLabel47;
    private javax.swing.JLabel jLabel48;
    private javax.swing.JLabel jLabel49;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel50;
    private javax.swing.JLabel jLabel51;
    private javax.swing.JLabel jLabel52;
    private javax.swing.JLabel jLabel53;
    private javax.swing.JLabel jLabel54;
    private javax.swing.JLabel jLabel55;
    private javax.swing.JLabel jLabel56;
    private javax.swing.JLabel jLabel57;
    private javax.swing.JLabel jLabel58;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel10;
    private javax.swing.JPanel jPanel11;
    private javax.swing.JPanel jPanel12;
    private javax.swing.JPanel jPanel13;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPanel jPanel3;
    private javax.swing.JPanel jPanel4;
    private javax.swing.JPanel jPanel5;
    private javax.swing.JPanel jPanel6;
    private javax.swing.JPanel jPanel7;
    private javax.swing.JPanel jPanel8;
    private javax.swing.JPanel jPanel9;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JScrollPane jScrollPane4;
    private javax.swing.JScrollPane jScrollPane5;
    private javax.swing.JScrollPane jScrollPane6;
    private javax.swing.JTabbedPane jTabbedPane1;
    private javax.swing.JTable jTable_Cronograma;
    private javax.swing.JTable jTable_DetDeuda;
    private javax.swing.JTable jTable_Gar_Externos;
    private javax.swing.JTable jTable_Gar_Socios;
    private javax.swing.JTable jTable_Historia;
    private javax.swing.JTextArea jTextArea_Seg_Obser;
    private javax.swing.JTextField jText_GarExt_CentroTrabajo;
    private javax.swing.JTextField jText_GarExt_Domic;
    private javax.swing.JTextField jText_GarExt_OtroTelef;
    private javax.swing.JTextField jText_GarExt_Telef;
    private javax.swing.JTextField jText_GarSoc_CentroTrabajo;
    private javax.swing.JTextField jText_GarSoc_Domic;
    private javax.swing.JTextField jText_GarSoc_OtroTelef;
    private javax.swing.JTextField jText_GarSoc_Telef;
    private javax.swing.JTextField jText_Hist_Amort;
    private javax.swing.JTextField jText_Hist_Aportes;
    private javax.swing.JTextField jText_Hist_CalificCarteraActual;
    private javax.swing.JTextField jText_Hist_CapPagado;
    private javax.swing.JTextField jText_Hist_CapPendiente;
    private javax.swing.JTextField jText_Hist_CapVencido;
    private javax.swing.JTextField jText_Hist_CompPendient;
    private javax.swing.JTextField jText_Hist_CuotasPagadas;
    private javax.swing.JTextField jText_Hist_CuotasPendient;
    private javax.swing.JTextField jText_Hist_CuotasVencidas;
    private javax.swing.JTextField jText_Hist_Desg;
    private javax.swing.JTextField jText_Hist_DesgPendient;
    private javax.swing.JTextField jText_Hist_Deuda;
    private javax.swing.JTextField jText_Hist_DeudaVenc;
    private javax.swing.JTextField jText_Hist_FechActual;
    private javax.swing.JTextField jText_Hist_FormaPago;
    private javax.swing.JTextField jText_Hist_Gastos;
    private javax.swing.JTextField jText_Hist_IntCompe;
    private javax.swing.JTextField jText_Hist_IntPendient;
    private javax.swing.JTextField jText_Hist_Inter;
    private javax.swing.JTextField jText_Hist_Mora;
    private javax.swing.JTextField jText_Hist_MoraPend;
    private javax.swing.JTextField jText_Hist_NumOpe;
    private javax.swing.JTextField jText_Hist_PeriodoPago;
    private javax.swing.JTextField jText_Hist_Tasa;
    private javax.swing.JTextField jText_Hist_UltimoInteres;
    private javax.swing.JTextField jText_Seg_CTrabajo;
    private javax.swing.JTextField jText_Seg_Domicilio;
    private javax.swing.JTextField jText_Seg_Nombre;
    private javax.swing.JTextField jText_Seg_OtroTelef;
    private javax.swing.JTextField jText_Seg_Telefono;
    // End of variables declaration//GEN-END:variables
}
